package com.ddstation.crm.accountManage.service;

import com.ddstation.crm.accountManage.Entity.AccountManageEntity;
import com.ddstation.crm.accountManage.model.AccountManageModel;

import java.util.List;

public interface AccountManageService {

	public List<AccountManageEntity> getAllAccount(AccountManageModel accountManageModel, Integer offset, Integer onePageCnt);

	public int getAccountCnt(AccountManageModel accountManageModel);

	/**
	 * 获取未分配的账号
	 * @param institutionId
	 * @return
	 */
	public List<AccountManageEntity> getFreeAccount(String institutionId);
}
